projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3914c2
)
* eglot.el (eglot-workspace-configuration): safe when listp.
author
João Távora
<joaotavora@gmail.com>
Wed, 2 Jan 2019 20:34:09 +0000
(20:34 +0000)
committer
João Távora
<joaotavora@gmail.com>
Wed, 2 Jan 2019 20:34:09 +0000
(20:34 +0000)
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 39f484220aa3ebffe2f86a8cd7612980add6286c..6de3adf9763a46ef803e0838844c65f61b907989 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-1553,6
+1553,8
@@
Records START, END and PRE-CHANGE-LENGTH locally."
Setting should be a keyword, value can be any value that can be
converted to JSON.")
+(put 'eglot-workspace-configuration 'safe-local-variable 'listp)
+
(defun eglot-signal-didChangeConfiguration (server)
"Send a `:workspace/didChangeConfiguration' signal to SERVER.
When called interactively, use the currently active server"